Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port Trader Changes from PoB 2 #8386

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

QuickStick123
Copy link
Contributor

@QuickStick123 QuickStick123 commented Dec 27, 2024

Description of the problem being solved:

This refactors how inverted mods are handled, and does away with saving the sign value and subType. This means there is a new section called Talismans.

Implicits has been refactored and now uses ProcessMod this stops them applying to stuff they shouldn't and don't spam the QueryMods with subType stuff.

Several negative value mods now work correctly and some mods that might've been parsed correctly on an item should work for weight generation.

POSESSID is automatically expired.

HTML passed queries were removed in favor of API due to receiving constant 403 from them. This means realmIds and names were hardcoded but this shouldn't be an issue as they are infrequently updated.

Generation no longer uses invert and instead negative values are parsed in the stat weight which is handled by building values in queryMods.

The sign appearing might not be the most correct since it assumes that if a mod appears on the trade site with a + it will have one but there are cases where this isn't the case this can be seen in PoE 2 quite commonly but probably isn't a big deal here. Ideally using their stat descriptions would be ideal to determine this.

Fix duplicated code causing item bases to be parsed twice and once with old code leaking talismans into general code.

Fix negative modifers

Handle sign after the fact and try fixing a mod that wasn't being parsed correctly.

Fix failed parse for a line affecting others.

Properly Fixed

Several fixes including talismans handling change, fix incorrect invert implementation and invert negaed mods before item creation, fix multi line implicits and move passives back to correct spot.

Fix chance to block flat again.

Change up and fix a couple of the local mods.
@Runo231
Copy link

Runo231 commented Dec 27, 2024

Does this branch work correctly for Path of Exile 2, allowing characters to be imported?

@QuickStick123
Copy link
Contributor Author

No these changes are for PoE 1 version of the client I just ported the improvements I made back to the PoE 1 side, afaik there is no way to import characters currently for poe 2 even in our dev environment due to lacking apis.

@QuickStick123
Copy link
Contributor Author

This has an issue regarding parsing of mods that don't match with signage on trade mods. It is a fairly noticeable problem for the poe 2 client but probably won't cause to many problems here but I will mark it as a draft anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants